// [[ OnflowGenerator Entity UUID: c1b1ff567c4340698cd215a691137c91 ]]
package com.itdct.onflow.system.configuration.entity

import com.baomidou.mybatisplus.annotation.TableName
import com.itdct.onflow.core.annotation.Column
import com.itdct.onflow.core.annotation.TableDescription
import com.itdct.onflow.core.entity.BaseUserEntity

/**
 * @author Zhouwx
 * @date 2025/8/25 13:58:32
 * @version 1.0
 * @description
 */
@TableDescription("系统配置")
@TableName("sys_configuration")
class SysConfigurationEntity : BaseUserEntity() {
    @Column(comment = "配置键", length = 100, sort = 10, unique = true, nullable = false, forSelect = true)
    var configKey = ""

    @Column(comment = "配置值", length = 200, sort = 20, indexed = true, nullable = false)
    var configValue = ""

    @Column(comment = "是否启用", sort = 30, defaultValue = "1", nullable = false)
    var enable = true

    @Column(comment = "其他参数", length = 500, sort = 40, nullable = true)
    var params: String? = null

    @Column(comment = "备注", length = 500, sort = 900, nullable = true)
    var remark: String? = null

}